You can redirect requests for files in one directory to a different directory, to a different Web site, or to another file in a different directory. When the browser requests the file at the original URL, the Web server instructs the browser to request the page by using the new URL.
To redirect requests to another directory or Web site
- In the Internet Information Services snap-in,
select the Web site or directory and open its property sheets.
- Click the Home Directory, Virtual Directory, or Directory tab.
- Select A Redirection to a URL.
- In the Redirect To box, type the URL of the destination directory or Web site. For example, to redirect all requests for files in the /Catalog directory to the /NewCatalog directory, type /NewCatalog.
To redirect all requests to a single file
- In the Internet Information Services snap-in,
select the Web site or directory and open its property sheets.
- Click the Home Directory, Virtual Directory, or Directory tab.
- Select A Redirection to a URL.
- In the Redirect To box, type the URL of the destination file.
- Select The Exact URL Entered Above to prevent the Web server from appending the original file name to the destination URL.
You can use wildcards and redirect variables in the destination URL to precisely control how the original URL is translated into the destination URL. For information, see Redirect Reference.
© 1997-1999 Microsoft Corporation. All rights reserved.